﻿namespace HRM.CORE
{
    using DevExpress.Utils;
    using DevExpress.XtraBars;
    using DevExpress.XtraEditors;
    using DevExpress.XtraEditors.Controls;
    using DevExpress.XtraEditors.Repository;
    using DevExpress.XtraGrid;
    using DevExpress.XtraGrid.Columns;
    using DevExpress.XtraGrid.Views.BandedGrid;
    using DevExpress.XtraGrid.Views.Grid;
    using APP.HELPER;
    using System; using Extra.ERP;
    using System.ComponentModel;
    using System.Drawing;
    using System.Windows.Forms; using Common;
    using Common;
    using DevExpress.XtraGrid.Views.Base;

    public class xuc05ABKTNCN : Common.xucBase
    {
        private BandedGridColumn bandedGridColumn1;
        private BandedGridColumn bandedGridColumn10;
        private BandedGridColumn bandedGridColumn11;
        private BandedGridColumn bandedGridColumn12;
        private BandedGridColumn bandedGridColumn13;
        private BandedGridColumn bandedGridColumn14;
        private BandedGridColumn bandedGridColumn15;
        private BandedGridColumn bandedGridColumn2;
        private BandedGridColumn bandedGridColumn3;
        private BandedGridColumn bandedGridColumn4;
        private BandedGridColumn bandedGridColumn5;
        private BandedGridColumn bandedGridColumn6;
        private BandedGridColumn bandedGridColumn7;
        private BandedGridColumn bandedGridColumn8;
        private BandedGridColumn bandedGridColumn9;
        private BarDockControl barDockControlBottom;
        private BarDockControl barDockControlLeft;
        private BarDockControl barDockControlRight;
        private BarDockControl barDockControlTop;
        private BarManager barManager1;
        private BarButtonItem bbiDelete;
        private IContainer components = null;
        private AdvBandedGridView gbList;
        private GridControl gcList;
        private GridBand gridBand1;
        private GridBand gridBand10;
        private GridBand gridBand11;
        private GridBand gridBand12;
        private GridBand gridBand13;
        private GridBand gridBand14;
        private GridBand gridBand15;
        private GridBand gridBand16;
        private GridBand gridBand17;
        private GridBand gridBand18;
        private GridBand gridBand2;
        private GridBand gridBand3;
        private GridBand gridBand4;
        private GridBand gridBand5;
        private GridBand gridBand6;
        private GridBand gridBand7;
        private GridBand gridBand8;
        private GridBand gridBand9;
        private GridColumn gridColumn1;
        private GridColumn gridColumn2;
        private GridColumn gridColumn3;
        private GridColumn gridColumn4;
        private GridView gridView1;
        private PopupMenu ppMenu;
        private RepositoryItemGridLookUpEdit repAllowanceCode;
        private RepositoryItemGridLookUpEdit repAllowanceName;
        private RepositoryItemCalcEdit repMoney;
        private GridView repositoryItemGridLookUpEdit1View;

        public xuc05ABKTNCN()
        {
            this.InitializeComponent();
        }

        protected override void Dispose(bool disposing)
        {
            if (disposing && (this.components != null))
            {
                this.components.Dispose();
            }
            base.Dispose(disposing);
        }

        private void InitializeComponent()
        {
            this.components = new Container();
            ComponentResourceManager manager = new ComponentResourceManager(typeof(xuc05ABKTNCN));
            SerializableAppearanceObject appearance = new SerializableAppearanceObject();
            SerializableAppearanceObject obj3 = new SerializableAppearanceObject();
            this.gcList = new GridControl();
            this.gbList = new AdvBandedGridView();
            this.gridBand1 = new GridBand();
            this.bandedGridColumn1 = new BandedGridColumn();
            this.gridBand2 = new GridBand();
            this.bandedGridColumn2 = new BandedGridColumn();
            this.gridBand3 = new GridBand();
            this.bandedGridColumn3 = new BandedGridColumn();
            this.gridBand4 = new GridBand();
            this.bandedGridColumn4 = new BandedGridColumn();
            this.gridBand17 = new GridBand();
            this.gridBand5 = new GridBand();
            this.bandedGridColumn5 = new BandedGridColumn();
            this.gridBand6 = new GridBand();
            this.bandedGridColumn6 = new BandedGridColumn();
            this.gridBand18 = new GridBand();
            this.gridBand7 = new GridBand();
            this.bandedGridColumn7 = new BandedGridColumn();
            this.gridBand8 = new GridBand();
            this.bandedGridColumn8 = new BandedGridColumn();
            this.gridBand9 = new GridBand();
            this.bandedGridColumn9 = new BandedGridColumn();
            this.gridBand10 = new GridBand();
            this.bandedGridColumn10 = new BandedGridColumn();
            this.gridBand11 = new GridBand();
            this.bandedGridColumn11 = new BandedGridColumn();
            this.gridBand12 = new GridBand();
            this.bandedGridColumn12 = new BandedGridColumn();
            this.gridBand16 = new GridBand();
            this.gridBand13 = new GridBand();
            this.bandedGridColumn13 = new BandedGridColumn();
            this.gridBand14 = new GridBand();
            this.bandedGridColumn14 = new BandedGridColumn();
            this.gridBand15 = new GridBand();
            this.bandedGridColumn15 = new BandedGridColumn();
            this.repAllowanceCode = new RepositoryItemGridLookUpEdit();
            this.repositoryItemGridLookUpEdit1View = new GridView();
            this.gridColumn1 = new GridColumn();
            this.gridColumn2 = new GridColumn();
            this.repAllowanceName = new RepositoryItemGridLookUpEdit();
            this.gridView1 = new GridView();
            this.gridColumn3 = new GridColumn();
            this.gridColumn4 = new GridColumn();
            this.repMoney = new RepositoryItemCalcEdit();
            this.ppMenu = new PopupMenu(this.components);
            this.bbiDelete = new BarButtonItem();
            this.barManager1 = new BarManager(this.components);
            this.barDockControlTop = new BarDockControl();
            this.barDockControlBottom = new BarDockControl();
            this.barDockControlLeft = new BarDockControl();
            this.barDockControlRight = new BarDockControl();
            this.gcList.BeginInit();
            this.gbList.BeginInit();
            this.repAllowanceCode.BeginInit();
            this.repositoryItemGridLookUpEdit1View.BeginInit();
            this.repAllowanceName.BeginInit();
            this.gridView1.BeginInit();
            this.repMoney.BeginInit();
            this.ppMenu.BeginInit();
            this.barManager1.BeginInit();
            base.SuspendLayout();
            this.gcList.Dock = DockStyle.Fill;
            this.gcList.EmbeddedNavigator.Buttons.Append.Visible = false;
            this.gcList.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
            this.gcList.EmbeddedNavigator.Buttons.Edit.Visible = false;
            this.gcList.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
            this.gcList.EmbeddedNavigator.Buttons.Remove.Visible = false;
            this.gcList.EmbeddedNavigator.TextStringFormat = "{0}/{1}";
            this.gcList.Location = new Point(0, 0);
            this.gcList.MainView = this.gbList;
            this.gcList.Name = "gcList";
            this.gcList.RepositoryItems.AddRange(new RepositoryItem[] { this.repAllowanceCode, this.repAllowanceName, this.repMoney });
            this.gcList.Size = new Size(0x372, 0x1e6);
            this.gcList.TabIndex = 4;
            this.gcList.UseEmbeddedNavigator = true;
            this.gcList.ViewCollection.AddRange(new BaseView[] { this.gbList });
            this.gbList.Appearance.BandPanel.Options.UseTextOptions = true;
            this.gbList.Appearance.BandPanel.TextOptions.HAlignment = HorzAlignment.Center;
            this.gbList.Appearance.BandPanel.TextOptions.WordWrap = WordWrap.Wrap;
            this.gbList.Appearance.GroupRow.Font = new Font("Tahoma", 8.25f, FontStyle.Bold);
            this.gbList.Appearance.GroupRow.Options.UseFont = true;
            this.gbList.BandPanelRowHeight = 0x24;
            this.gbList.Bands.AddRange(new GridBand[] { this.gridBand1, this.gridBand2, this.gridBand3, this.gridBand4, this.gridBand17, this.gridBand18, this.gridBand10, this.gridBand11, this.gridBand12, this.gridBand16 });
            this.gbList.BorderStyle = BorderStyles.NoBorder;
            this.gbList.Columns.AddRange(new BandedGridColumn[] { this.bandedGridColumn1, this.bandedGridColumn2, this.bandedGridColumn3, this.bandedGridColumn4, this.bandedGridColumn5, this.bandedGridColumn6, this.bandedGridColumn7, this.bandedGridColumn8, this.bandedGridColumn9, this.bandedGridColumn10, this.bandedGridColumn11, this.bandedGridColumn12, this.bandedGridColumn13, this.bandedGridColumn14, this.bandedGridColumn15 });
            this.gbList.GridControl = this.gcList;
            this.gbList.GroupPanelText = "K\x00e9o v\x00e0 Thả cột v\x00e0o đ\x00e2y để nh\x00f3m dữ liệu";
            this.gbList.IndicatorWidth = 40;
            this.gbList.Name = "gbList";
            this.gbList.OptionsBehavior.AllowIncrementalSearch = true;
            this.gbList.OptionsBehavior.AutoExpandAllGroups = true;
            this.gbList.OptionsBehavior.CopyToClipboardWithColumnHeaders = false;
            this.gbList.OptionsBehavior.FocusLeaveOnTab = true;
            this.gbList.OptionsLayout.StoreAllOptions = true;
            this.gbList.OptionsLayout.StoreAppearance = true;
            this.gbList.OptionsMenu.EnableColumnMenu = false;
            this.gbList.OptionsMenu.EnableGroupPanelMenu = false;
            this.gbList.OptionsNavigation.EnterMoveNextColumn = true;
            this.gbList.OptionsSelection.InvertSelection = true;
            this.gbList.OptionsSelection.MultiSelect = true;
            this.gbList.OptionsView.NewItemRowPosition = NewItemRowPosition.Bottom;
            this.gbList.OptionsView.ShowColumnHeaders = false;
            this.gbList.OptionsView.ShowGroupPanel = false;
            this.gridBand1.Caption = "Họ v\x00e0 t\x00ean";
            this.gridBand1.Columns.Add(this.bandedGridColumn1);
            this.gridBand1.Name = "gridBand1";
            this.gridBand1.Width = 0x8a;
            this.bandedGridColumn1.Caption = "Họ v\x00e0 t\x00ean";
            this.bandedGridColumn1.Name = "bandedGridColumn1";
            this.bandedGridColumn1.Visible = true;
            this.bandedGridColumn1.Width = 0x8a;
            this.gridBand2.Caption = "M\x00e3 số thuế";
            this.gridBand2.Columns.Add(this.bandedGridColumn2);
            this.gridBand2.Name = "gridBand2";
            this.gridBand2.Width = 0x57;
            this.bandedGridColumn2.Caption = "M\x00e3 số thuế";
            this.bandedGridColumn2.Name = "bandedGridColumn2";
            this.bandedGridColumn2.Visible = true;
            this.bandedGridColumn2.Width = 0x57;
            this.gridBand3.Caption = "Số CMND/Hộ chiếu";
            this.gridBand3.Columns.Add(this.bandedGridColumn3);
            this.gridBand3.Name = "gridBand3";
            this.gridBand3.Width = 0x4b;
            this.bandedGridColumn3.Caption = "Số CMND/Hộ chiếu";
            this.bandedGridColumn3.Name = "bandedGridColumn3";
            this.bandedGridColumn3.Visible = true;
            this.gridBand4.Caption = "C\x00e1 nh\x00e2n ủy quyền quyết to\x00e1n thay";
            this.gridBand4.Columns.Add(this.bandedGridColumn4);
            this.gridBand4.Name = "gridBand4";
            this.gridBand4.Width = 0x4b;
            this.bandedGridColumn4.Caption = "C\x00e1 nh\x00e2n uỷ quyền quyết to\x00e1n thay";
            this.bandedGridColumn4.Name = "bandedGridColumn4";
            this.bandedGridColumn4.Visible = true;
            this.gridBand17.Caption = "Thu nhập chịu thuế";
            this.gridBand17.Children.AddRange(new GridBand[] { this.gridBand5, this.gridBand6 });
            this.gridBand17.Name = "gridBand17";
            this.gridBand17.Width = 150;
            this.gridBand5.Caption = "Tổng số";
            this.gridBand5.Columns.Add(this.bandedGridColumn5);
            this.gridBand5.Name = "gridBand5";
            this.gridBand5.Width = 0x4b;
            this.bandedGridColumn5.Caption = "Tổng số";
            this.bandedGridColumn5.Name = "bandedGridColumn5";
            this.bandedGridColumn5.Visible = true;
            this.gridBand6.Caption = "Trong đ\x00f3: TNCT l\x00e0m căn cứ t\x00ednh giảm thuế";
            this.gridBand6.Columns.Add(this.bandedGridColumn6);
            this.gridBand6.Name = "gridBand6";
            this.gridBand6.Width = 0x4b;
            this.bandedGridColumn6.Caption = "Trong đ\x00f3: TNCT l\x00e0m căn cứ t\x00ednh giảm thuế";
            this.bandedGridColumn6.Name = "bandedGridColumn6";
            this.bandedGridColumn6.Visible = true;
            this.gridBand18.Caption = "C\x00e1c khoản giảm trừ";
            this.gridBand18.Children.AddRange(new GridBand[] { this.gridBand7, this.gridBand8, this.gridBand9 });
            this.gridBand18.Name = "gridBand18";
            this.gridBand18.Width = 0xe1;
            this.gridBand7.Caption = "Tổng số tiền  giảm trừ gia cảnh";
            this.gridBand7.Columns.Add(this.bandedGridColumn7);
            this.gridBand7.Name = "gridBand7";
            this.gridBand7.Width = 0x4b;
            this.bandedGridColumn7.Caption = "Tổng số tiền  giảm trừ gia cảnh";
            this.bandedGridColumn7.Name = "bandedGridColumn7";
            this.bandedGridColumn7.Visible = true;
            this.gridBand8.Caption = "Từ thiện, nh\x00e2n đạo, khuyến học";
            this.gridBand8.Columns.Add(this.bandedGridColumn8);
            this.gridBand8.Name = "gridBand8";
            this.gridBand8.Width = 0x4b;
            this.bandedGridColumn8.Caption = "Từ thiện, nh\x00e2n đạo, khuyến học";
            this.bandedGridColumn8.Name = "bandedGridColumn8";
            this.bandedGridColumn8.Visible = true;
            this.gridBand9.Caption = "Bảo hiểm bắt buộc";
            this.gridBand9.Columns.Add(this.bandedGridColumn9);
            this.gridBand9.Name = "gridBand9";
            this.gridBand9.Width = 0x4b;
            this.bandedGridColumn9.Caption = "Bảo hiểm bắt buộc";
            this.bandedGridColumn9.Name = "bandedGridColumn9";
            this.bandedGridColumn9.Visible = true;
            this.gridBand10.Caption = "Thu nhập t\x00ednh thuế";
            this.gridBand10.Columns.Add(this.bandedGridColumn10);
            this.gridBand10.Name = "gridBand10";
            this.gridBand10.Width = 0x4b;
            this.bandedGridColumn10.Caption = "Thu nhập t\x00ednh thuế";
            this.bandedGridColumn10.Name = "bandedGridColumn10";
            this.bandedGridColumn10.Visible = true;
            this.gridBand11.Caption = "Số thuế TNCN đ\x00e3 khấu trừ";
            this.gridBand11.Columns.Add(this.bandedGridColumn11);
            this.gridBand11.Name = "gridBand11";
            this.gridBand11.Width = 0x4b;
            this.bandedGridColumn11.Caption = "Số thuế TNCN đ\x00e3 khấu trừ";
            this.bandedGridColumn11.Name = "bandedGridColumn11";
            this.bandedGridColumn11.Visible = true;
            this.gridBand12.Caption = "Số thuế TNCN phải khấu trừ";
            this.gridBand12.Columns.Add(this.bandedGridColumn12);
            this.gridBand12.Name = "gridBand12";
            this.gridBand12.Width = 0x4b;
            this.bandedGridColumn12.Caption = "Số thuế TNCN phải khấu trừ";
            this.bandedGridColumn12.Name = "bandedGridColumn12";
            this.bandedGridColumn12.Visible = true;
            this.gridBand16.Caption = "Chi tiết kết quả quyết to\x00e1n thay cho c\x00e1 nh\x00e2n nộp thuế";
            this.gridBand16.Children.AddRange(new GridBand[] { this.gridBand13, this.gridBand14, this.gridBand15 });
            this.gridBand16.Name = "gridBand16";
            this.gridBand16.Width = 0xe1;
            this.gridBand13.Caption = "Tổng số thuế phải nộp";
            this.gridBand13.Columns.Add(this.bandedGridColumn13);
            this.gridBand13.Name = "gridBand13";
            this.gridBand13.Width = 0x4b;
            this.bandedGridColumn13.Caption = "Tổng số thuế phải nộp";
            this.bandedGridColumn13.Name = "bandedGridColumn13";
            this.bandedGridColumn13.Visible = true;
            this.gridBand14.Caption = "Số thuế đ\x00e3 nộp thừa";
            this.gridBand14.Columns.Add(this.bandedGridColumn14);
            this.gridBand14.Name = "gridBand14";
            this.gridBand14.Width = 0x4b;
            this.bandedGridColumn14.Caption = "Số thuế đ\x00e3 nộp thừa";
            this.bandedGridColumn14.Name = "bandedGridColumn14";
            this.bandedGridColumn14.Visible = true;
            this.gridBand15.Caption = "Số thuế c\x00f2n phải khấu trừ th\x00eam";
            this.gridBand15.Columns.Add(this.bandedGridColumn15);
            this.gridBand15.Name = "gridBand15";
            this.gridBand15.Width = 0x4b;
            this.bandedGridColumn15.Caption = "Số thuế c\x00f2n phải khấu trừ th\x00eam";
            this.bandedGridColumn15.Name = "bandedGridColumn15";
            this.bandedGridColumn15.Visible = true;
            this.repAllowanceCode.AutoHeight = false;
            this.repAllowanceCode.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("repAllowanceCode.Buttons"), new KeyShortcut(Keys.None), appearance, "", null, null, true) });
            this.repAllowanceCode.DisplayFormat.FormatString = "{0:##,##0} VND";
            this.repAllowanceCode.EditFormat.FormatString = "{0:##,##0} VND";
            this.repAllowanceCode.Name = "repAllowanceCode";
            this.repAllowanceCode.NullText = "[Chọn m\x00e3 phụ cấp]";
            this.repAllowanceCode.View = this.repositoryItemGridLookUpEdit1View;
            this.repositoryItemGridLookUpEdit1View.Columns.AddRange(new GridColumn[] { this.gridColumn1, this.gridColumn2 });
            this.repositoryItemGridLookUpEdit1View.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.repositoryItemGridLookUpEdit1View.Name = "repositoryItemGridLookUpEdit1View";
            this.repositoryItemGridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.repositoryItemGridLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            this.gridColumn1.Caption = "M\x00e3 Phụ Cấp";
            this.gridColumn1.FieldName = "AllowanceCode";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn2.Caption = "T\x00ean Phụ Cấp";
            this.gridColumn2.FieldName = "AllowanceName";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.repAllowanceName.AutoHeight = false;
            this.repAllowanceName.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo), new EditorButton(ButtonPredefines.Glyph, "Th\x00eam", -1, true, true, false, ImageLocation.MiddleCenter, (Image) manager.GetObject("repAllowanceName.Buttons"), new KeyShortcut(Keys.None), obj3, "", null, null, true) });
            this.repAllowanceName.Name = "repAllowanceName";
            this.repAllowanceName.NullText = "[Chọn t\x00ean phụ cấp]";
            this.repAllowanceName.View = this.gridView1;
            this.gridView1.Columns.AddRange(new GridColumn[] { this.gridColumn3, this.gridColumn4 });
            this.gridView1.FocusRectStyle = DrawFocusRectStyle.RowFocus;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            this.gridColumn3.Caption = "M\x00e3 Phụ Cấp";
            this.gridColumn3.FieldName = "AllowanceCode";
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 0;
            this.gridColumn4.Caption = "T\x00ean Phụ Cấp";
            this.gridColumn4.FieldName = "AllowanceName";
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 1;
            this.repMoney.AutoHeight = false;
            this.repMoney.Buttons.AddRange(new EditorButton[] { new EditorButton(ButtonPredefines.Combo) });
            this.repMoney.Mask.UseMaskAsDisplayFormat = true;
            this.repMoney.Name = "repMoney";
            this.ppMenu.LinksPersistInfo.AddRange(new LinkPersistInfo[] { new LinkPersistInfo(BarLinkUserDefines.PaintStyle, this.bbiDelete, BarItemPaintStyle.CaptionGlyph) });
            this.ppMenu.Manager = this.barManager1;
            this.ppMenu.Name = "ppMenu";
            this.bbiDelete.Caption = "X\x00f3a";
            this.bbiDelete.Id = 0;
            this.bbiDelete.Name = "bbiDelete";
            this.barManager1.DockControls.Add(this.barDockControlTop);
            this.barManager1.DockControls.Add(this.barDockControlBottom);
            this.barManager1.DockControls.Add(this.barDockControlLeft);
            this.barManager1.DockControls.Add(this.barDockControlRight);
            this.barManager1.Form = this;
            this.barManager1.Items.AddRange(new BarItem[] { this.bbiDelete });
            this.barManager1.MaxItemId = 1;
            base.AutoScaleDimensions = new SizeF(6f, 13f);
            base.AutoScaleMode = AutoScaleMode.Font;
            base.Controls.Add(this.gcList);
            base.Controls.Add(this.barDockControlLeft);
            base.Controls.Add(this.barDockControlRight);
            base.Controls.Add(this.barDockControlBottom);
            base.Controls.Add(this.barDockControlTop);
            base.Name = "xuc05ABKTNCN";
            base.Size = new Size(0x372, 0x1e6);
            this.gcList.EndInit();
            this.gbList.EndInit();
            this.repAllowanceCode.EndInit();
            this.repositoryItemGridLookUpEdit1View.EndInit();
            this.repAllowanceName.EndInit();
            this.gridView1.EndInit();
            this.repMoney.EndInit();
            this.ppMenu.EndInit();
            this.barManager1.EndInit();
            base.ResumeLayout(false);
        }
    }
}

